package com.yunji.aggregate.model.dto.base;

import com.yunji.common.annotation.Excel;
import com.yunji.common.base.PageDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * @version 1.0
 * @Project: yunji-coffee
 * @Package com.yunji.user.params
 * @FileName SiteParam.java
 * @Copyright Copyright © 2024 云集互联. All Rights Reserved
 * Company		com
 * @CreateTime 2024-04-02 16:09:59
 * @Description 网点查询参数
 * @Modification Author                History Time			Version				Description
 * ----------------------------------------------------------------------------
 * HuaAo			2024-04-02 16:09:59		1.0					1.0 Version
 * @since JDK 1.8.0_202
 */
@Data
public class SiteParam extends PageDTO implements Serializable {
    private static final long serialVersionUID = 2740915823402423011L;

    @ApiModelProperty("站点ID")
    private Long id;

    @ApiModelProperty("所属ID")
    private Long belongId;

    @ApiModelProperty("父属ID")
    private Long parentId;

    @ApiModelProperty("代理商ID")
    private Long agentId;

    @ApiModelProperty("代理商名称")
    private String agentName;

    @ApiModelProperty("自定义授权")
    private Integer customPrice;

    @ApiModelProperty("网点类型")
    @Excel(name = "网点类型", width = 15)
    private Integer siteType;

    @ApiModelProperty("网点分成类型 0-不分成 1-按比例")
    @Excel(name = "网点分成类型 0-不分成 1-按比例")
    private Integer scaleType;

    @ApiModelProperty("网点名称")
    @Excel(name = "网点名称", width = 15)
    @Length(message = "网点名称不能超过{max}个字符", max = 15)
    private String siteName;

    @ApiModelProperty("网点状态(0:正常;1:禁用;)")
    private Integer status;

    @ApiModelProperty("网点电话")
    @Length(message = "网点电话不能超过{max}个字符", max = 11)
    private String siteTel;

    @ApiModelProperty("最低员工人数")
    private Integer minStaffNums;

    @ApiModelProperty("最高员工人数")
    private Integer maxStaffNums;

    @ApiModelProperty("最低货柜数")
    private Integer minContainerNums;

    @ApiModelProperty("最高货柜数")
    private Integer maxContainerNums;

    @ApiModelProperty("搜索字段")
    private String searchFiled;

    @ApiModelProperty("分润比例排序 0-正序 1-倒序")
    private Integer scaleOrder;

    @ApiModelProperty("员工人数排序 0-正序 1-倒序")
    private Integer staffNumsOrder;

    @ApiModelProperty("货柜数量排序 0-正序 1-倒序")
    private Integer containerNumsOrder;

}
